<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets">

<h:head>
	<title>#{messages.browserTitle}</title>
</h:head>
<h:body>
	<h:form id="id_formLogin">
		<h:panelGrid id="id_login" columns="2" cellpadding="0" cellspacing="2">
			<f:facet name="header">
				<h:outputText value="#{messages.loginMessage}"/>
			</f:facet>
			<h:outputLabel for="id_userID" value="#{messages.label_userID}" />
	        <h:inputText id="id_userID" value="#{loggedIn.userID}" />
	        <h:outputLabel for="id_password" value="#{messages.label_userPassword}" />
	        <h:inputSecret id="id_password" value="#{loggedIn.password}" />
	        <f:facet name="footer">
	            <h:panelGroup style="display:block; text-align:center">
	                <h:commandButton id="id_buttonSubmit" value="#{messages.button_login}" action="#{loggedIn.validate}" />
	            </h:panelGroup>
	        </f:facet>
		</h:panelGrid>
	</h:form>
</h:body>
</html>